public class EagerSingletonFactoryLogger {
    private EagerSingletonFactoryLogger() {}

    private static EagerSingletonFactoryLogger instance = new EagerSingletonFactoryLogger();

    public static EagerSingletonFactoryLogger getInstance() {
        return instance;
    }

    private String loggerName;

    public String getLoggerName() {
        return loggerName;
    }
    public void setLoggerName(String loggerName) {
        this.loggerName = loggerName;
    }

    public void log(String message) {
        System.out.println(message);
    }

    public String shoInfo(){
        return  Integer.toString(this.hashCode());
    }
}
